#pragma once

#include "../SGD Wrappers/CSGD_Direct3D.h"
#include <Windows.h>
#include <iostream>
using namespace std;


class CFrame
{

	RECT	m_DrawRect;
	RECT	m_CollisionRect;
	POINT	m_AnchorPoint;
	string	m_szMessage;
	float	m_fScale;
	float	m_fRotation;
	float	m_fTime;
	int		m_nCollisionInfo;	// info of what happens upon collision


public:
	CFrame(void);
	~CFrame(void);

	friend class CAnimationManager;
	friend class CAnimationInfo;

	RECT GetDrawRect( void ){ return m_DrawRect; }
	POINT GetAnchorPoint( void ) { return m_AnchorPoint; }
	float GetTimePerFrame(void) { return m_fTime; }
	void SetMessage( string _szMessage ) { m_szMessage = _szMessage; }
	string GetMessage( void ) { return m_szMessage; }
};

